package top.milkbox.info;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;
import org.springframework.web.bind.annotation.CookieValue;

@Data
@Component
@ConfigurationProperties(prefix = "info.notice-info")
public class NoticeInfo {
    // 存储所有公告的键名
    private String allKey;
    // 存储所有公告的键值的存活时间，单位小时
    private Integer allTimeout;
}
